#ifndef __AS_CUSTOM_SCREEN__H__
#define __AS_CUSTOM_SCREEN__H__

#include "ASScreen.h"
#include "..\control\ASButton.h"
#include "..\control\ASList.h"

typedef enum
{
    AS_PAY_WEEK,
    AS_PAY_MONTH,

    AS_PAY_TYPE_MAX
} as_pay_label_type;

typedef struct
{
    as_screen base;
    as_button* rsk;
    as_list* list;
    as_time time_for_file;
    ASINT money_cur_week;
    ASINT money_cur_month;
    as_label* week_p;
    as_label* month_p;

} as_custom_screen;

void as_custom_screen_init(as_screen* screen_p);
void as_custom_screen_deinit(as_screen* screen_p);

void as_enter_custom_screen(void);
void as_custom_screen_update_data(void);
ASWSTR as_ftdata_custom_screen_get_date_str(as_time time);
void as_custom_screen_set_if_goback_reload(ASBOOL if_reload);
void as_show_custom_screen_from_child(void);
#endif//__AS_CUSTOM_SCREEN__H__